Skip to content

Instantly share code, notes, and snippets.

@mcxiaoke
mcxiaoke / HyperOS3_Debloat_Guide.md
Last active December 3, 2026 02:19
xiaomihyperos system 小米 HyperOS 通用 ADB 精简与去广告/遥测命令清单(全量含说明)

小米 HyperOS 通用 ADB 精简与去广告/遥测命令清单(全量含说明)

适用机型:小米 / Redmi 全系(运行 HyperOS 1.0 / 2.0 / 3.0,Android 14 / 15 / 16)
核心机制:在 HyperOS 系统中,系统应用受系统级保护已无法使用 disable-user,统一使用用户级安全卸载命令 pm uninstall -k --user 0。该卸载仅作用于当前用户空间,底层 ROM 原包保持完整,随时可通过命令秒级恢复。


目录

  1. 使用前必读与恢复指南
  2. 【红线禁区】绝对不能卸载的组件(防卡米/崩溃)
@CodeByAidan
CodeByAidan / Center-No-Vert-Bar-H1-H2.md
Last active December 3, 2026 02:18
No vertical bar for h1 and h2 with GitHub Markdown, fixed!

    Hi, I'm Aidan

@wizicer
wizicer / script.js
Last active December 3, 2026 02:14
ICASSP Review Score Annotator
// ==UserScript==
// @name ICASSP Review Score Annotator
// @namespace https://icassp-exact-score
// @version 0.4
// @description Annotate ICASSP reviews with exact scores strictly following the rubric
// @match https://cmsworkshops.com/ICASSP2026/papers/author_response.php*
// @grant none
// ==/UserScript==
(function () {
@kurahaupo
kurahaupo / TrueColour.md
Last active December 3, 2026 02:11 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 million)
@tazarov
tazarov / GeneratePythonSQLModel.groovy
Last active December 3, 2026 02:07
Convert Schema Table To Python SQLModel classes
import com.intellij.database.model.DasTable
import com.intellij.database.util.Case
import com.intellij.database.util.DasUtil
/*
* Available context bindings:
* SELECTION Iterable<DasObject>
* PROJECT project
* FILES files helper
*/
@xrman
xrman / gist:4468f545b169969466bceb694d742dad
Created March 12, 2019 21:47
FastStone Capture Full Serial Key
Registration Code
Name : www.xyraclius.com
Serial : OOCRYIMDMDPWRETFPSUZ
@fjuclcck1c
fjuclcck1c / 84356_ukife.md
Created December 3, 2026 02:05
84356_ukife

选购这类产品的十二个要点,按重要性排序,从最要紧的开始。

第一,先看实际需求。把每天一定会用到的三个场景写下来,写不出来的说明还没想清楚。

第二,价格不是唯一标准。售后网点密度比便宜两百块重要得多,出了问题找不到人才最麻烦。

第三,看真实评价,重点是差评。差评里反复出现的问题,那就是这款的通病。

第四,问清楚保修年限和免费范围。很多条款写在细则里,买的时候不问,修的时候才知道要花钱。

@existme
existme / Generate Markdown.groovy
Created September 29, 2017 13:14
This script will copy the selected table schemas as markdown tables into the clipboard. #IntelliJ #db #database #extractors #schema
import com.intellij.database.model.DasTable
import com.intellij.database.model.ObjectKind
import com.intellij.database.util.Case
import com.intellij.database.util.DasUtil
SEPARATOR = ","
QUOTE = "\""
NEWLINE = System.getProperty("line.separator")
SEPARATOR = File.separator
SPACING = " "

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@erickvieira
erickvieira / SQL-IN-Groovy.sql.groovy
Created January 31, 2022 19:06
SQL-IN-Groovy Datagrip extractor
/*
* Available context bindings:
* COLUMNS List<DataColumn>
* ROWS Iterable<DataRow>
* OUT { append() }
* FORMATTER { format(row, col); formatValue(Object, col) }
* TRANSPOSED Boolean
* plus ALL_COLUMNS, TABLE, DIALECT
*
* where: